@import "../../../assets/css/global";
page{
  height: 100%;
}
#coupon-container {
  height: 100%;
  .coupon-header {
    width: 100%;
    height: 50px;
    background: -webkit-linear-gradient(left top, #FFD700, #FF8F00, #FF0040);
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 40px;
    justify-content: space-around;
    font-size: 17px;
    color: #fff;

    .coupon-title {
      position: relative;

      :hover {
        font-weight: bold;
      }

      .active {
        font-weight: bold;
      }

      .coupon-bor {
        position: absolute;
        width: 15px;
        height: 3px;
        background: #fff;
        left: 50%;
        margin-left: -8px;
        top: 30px;
        border-radius: 1px;
      }
    }

  }

  .coupon-list-container {
    /*width: 100%;
    !*height: 60%;*!
    padding: 20px;*/
    height: 65%;

    .coupon-list {
     /* width: 100%;*/
      padding: 20px;

      .coupon-bgd1 {
        background: url('https://cdn.ibrand.cc/coupon-bgd1.png') no-repeat;
      }

      .coupon-bgd2 {
        background: url('https://cdn.ibrand.cc/coupon-bgd2.png') no-repeat;
      }

      /*.coupon-item {
        width: 100%;
        height: 100px;
        position: relative;
        background-size: cover;
        padding: 0 18px;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        margin-bottom: 10px;

        &.gray{
          -webkit-filter: grayscale(100%);
          -moz-filter: grayscale(100%);
          -ms-filter: grayscale(100%);
          -o-filter: grayscale(100%);
          filter: grayscale(100%);
          filter: gray;
        }
        image {
          width: 68px;
          height: 55px;
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
          z-index: 10;
        }
        .font-one {
          //color: #8E8E8E;
          font-size: 12px;
        }

        .color-one {
          color: #8E8E8E;
        }

        .expire-color1 {
          color: #8E8E8E;
        }

        .expire-color2 {
          color: #ABABAB;
        }

        .expire-color3 {
          color: #999999
        }

        .font-two {
          font-size: 15px;
          margin-left: -10px;
        }

        .color-two {
          color: #333333;
        }

        .left15 {
          margin-left: 15px;
        }

        .font-three {
          color: #000000;
          font-size: 10px;
        }

        .color-three {
          color: #FE1852;
        }
      }*/
      .li-item{
        position: relative;
        display: flex;
        align-items: center;
        padding:15px 20px;
        background-image: url('https://cdn.ibrand.cc/%E7%BB%84%2035.png');
        background-repeat: no-repeat;
        background-size: 100% 100%;
        margin-bottom:10px;
        &.gray{
          -webkit-filter: grayscale(100%);
          -moz-filter: grayscale(100%);
          -ms-filter: grayscale(100%);
          -o-filter: grayscale(100%);
          filter: grayscale(100%);
          filter: gray;
        }
        image {
          width: 68px;
          height: 55px;
          /*position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);*/
          z-index: 10;
        }
        .left-info{
          flex: 2;
          color: #fff;
          overflow: hidden;
          .title{
            font-size: 16px;
            line-height: 20px;
            font-weight: 700;
            margin-bottom: 7px;
            height: 40px;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
          }
          .time{
            font-size: 12px;
          }
        }
        .right-info{
          flex: 1;
          &.center-box{
            text-align:center;
          }
          .btn-box{
            margin: 0 auto;
            width:78px;
            height:29px;
            line-height: 29px;
            background:rgba(255,255,255,1);
            box-shadow:0px 5px 13px 0px rgba(252,172,40,0.52);
            border-radius:15px;
            text-align: center;
            color: #FF8B00;
            font-size: 12px;
          }
        }
      }

    }

  }
  .no-data{
    text-align: center;
  }
  .btn-bottom{
    position: fixed;
    bottom:33px;
    left: 38px;
    right: 38px;
    text-align: center;
    height:40px;
    line-height:40px;
    background:linear-gradient(0deg,#ff8f00,gold);
    border-radius:19px;
    font-size:16px;
    color:#222222;
  }
}
